From: Evan Welsh Date: Sat, 30 Oct 2021 22:09:39 +0000 (-0700) Subject: keyring: Fix incorrect reference to the label instead of string X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~536^2^2~77 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=75e57749f0c8dca4b5d81b7ca2b70ff84afdb562;p=gnome-shell.git keyring: Fix incorrect reference to the label instead of string Part-of: --- diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index 8623f2fdd..cd7a81e95 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -76,7 +76,7 @@ class KeyringDialog extends ModalDialog.ModalDialog { warning.opacity = this.prompt.warning_visible ? 255 : 0; }); this.prompt.connect('notify::warning', () => { - if (this._passwordEntry && warning !== '') + if (this._passwordEntry && this.prompt.warning !== '') Util.wiggle(this._passwordEntry); }); warningBox.add_child(warning);